<?php 
require_once 'HTML5Header.php';
require_once 'loginbbdd.php';
require_once('java/Java.inc');
require_once 'config_bbdd.php'; 
	
	if (!isset($_SESSION["nombre"])){
		echo "	<div class=\"navbar navbar-fixed-top\">
					<div class=\"navbar-inner\">
					<a class=\"btn btn-navbar\" data-toggle=\"collapse\" data-target=\".nav-collapse\"> 
						<span class=\"icon-bar\"></span> 
						<span class=\"icon-bar\"></span> 
						<span class=\"icon-bar\"></span> 
					</a> 
					<a class=\"brand\" href=\"index.php\">MoodvieWeb</a>
					<div class=\"nav-collapse\">
						<ul class=\"nav\">
							<li><a href=\"about.php\">Acerca de</a></li>
						</ul>
					</div>
					</div>
				</div>";
	}
	else{
		echo "	<div class=\"navbar navbar-fixed-top\">
				<div class=\"navbar-inner\">
					<a class=\"btn btn-navbar\" data-toggle=\"collapse\" data-target=\".nav-collapse\">
				    	<span class=\"icon-bar\"></span>
				        <span class=\"icon-bar\"></span>
				        <span class=\"icon-bar\"></span>
				    </a>
				    <a class=\"brand\" href=\"intro.php\">MoodvieWeb</a>
				    <div class=\"nav-collapse\">
				    	<ul class=\"nav\">
				        	<li><a href=\"intro.php\">Inicio</a></li>
				            <li><a href=\"recomiendaIntro.php\">Recomendación</a></li>
							<li><a href=\"cartelera.php\">Cartelera</a></li>
							<li><a href=\"cinesDeProvincia.php\">Cines</a></li>
							<li><a href=\"test.php\">Test</a></li>
							<li><a href=\"configuracion.php\">Configuración</a></li>
							<li><a href=\"about.php\">Acerca de</a></li>
							<li><a href=\"cerrarSesion.php\">Cerrar Sesión</a></li>
				       	</ul>
				  	</div>
				</div>
			</div>";
	}
?>
